package com.farm.configer.domain.ex;

public class TableField {

	/**
	 * 中文名称
	 */
	private String title;
	/**
	 * 字段名代码
	 */
	private String code;
	/**
	 * 数据类型
	 */
	private String type;
	/**
	 * 最大长度
	 */
	private int len;
	/**
	 * 表单类型
	 */
	private String formType;
	/**
	 * 是否主键
	 */
	private boolean primary;
	/**
	 * 是否必填
	 */
	private boolean required;
	/**
	 * 查询类型
	 */
	private String queryType;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public int getLen() {
		return len;
	}

	public void setLen(int len) {
		this.len = len;
	}

	public String getFormType() {
		return formType;
	}

	public void setFormType(String formType) {
		this.formType = formType;
	}

	public boolean isPrimary() {
		return primary;
	}

	public void setPrimary(boolean primary) {
		this.primary = primary;
	}

	public boolean isRequired() {
		return required;
	}

	public void setRequired(boolean required) {
		this.required = required;
	}

	public String getQueryType() {
		return queryType;
	}

	public void setQueryType(String queryType) {
		this.queryType = queryType;
	}

}
